package com.yuan.mint.bean;

import java.io.Serializable;
import java.util.List;

/**
 * Created by uiprj on 16-3-23.
 */
public class DietPostsBean implements Serializable {


    /**
     * id : 28466575
     * body : #晚餐# #晒美食# 红豆薏仁粉糊糊+黄豆粉✘腌菜籼米饼两个，下午#加餐# 砀山梨一个，吃粗粮粉显而易见好处就是便秘从来没有，每天两次😂
     * created_at : 2016-03-23T17:25:41.441+08:00
     * type : image
     * has_suggestion : false
     * private : false
     * own : false
     * favorite : false
     * feedback : null
     * envious_count : 0
     * comment_count : 0
     * reposted : false
     * photos : [{"small_url":"http://one.boohee.cn/p/2016/03/23/085cc78b3513488582204fc279e592b1.png?imageView/1/w/140/h/140","middle_url":"http://one.boohee.cn/p/2016/03/23/085cc78b3513488582204fc279e592b1.png?imageView/2/w/450/h/450","big_url":"http://one.boohee.cn/p/2016/03/23/085cc78b3513488582204fc279e592b1.png?imageView/2/w/640","preview_width":450,"preview_height":338},{"small_url":"http://one.boohee.cn/p/2016/03/23/ff696f67b65aba39c1353e77172ed896.png?imageView/1/w/140/h/140","middle_url":"http://one.boohee.cn/p/2016/03/23/ff696f67b65aba39c1353e77172ed896.png?imageView/2/w/450/h/450","big_url":"http://one.boohee.cn/p/2016/03/23/ff696f67b65aba39c1353e77172ed896.png?imageView/2/w/640","preview_width":338,"preview_height":450}]
     * user : {"id":1021562,"nickname":"没事就多笑","avatar_url":"http://one.boohee.cn/a/2014/2/24/15a965e4a0d4da13c9d82110ef74bfe8.jpg?imageView/1/w/120/h/120","title":null,"light":null}
     * cut : false
     */

    private int id;
    private String body;
    private String created_at;
    private String type;
    private boolean has_suggestion;
    private boolean privateX;
    private boolean own;
    private boolean favorite;
    private Object feedback;
    private int envious_count;
    private int comment_count;
    private boolean reposted;
    /**
     * id : 1021562
     * nickname : 没事就多笑
     * avatar_url : http://one.boohee.cn/a/2014/2/24/15a965e4a0d4da13c9d82110ef74bfe8.jpg?imageView/1/w/120/h/120
     * title : null
     * light : null
     */

    private UserBean user;
    private boolean cut;
    /**
     * small_url : http://one.boohee.cn/p/2016/03/23/085cc78b3513488582204fc279e592b1.png?imageView/1/w/140/h/140
     * middle_url : http://one.boohee.cn/p/2016/03/23/085cc78b3513488582204fc279e592b1.png?imageView/2/w/450/h/450
     * big_url : http://one.boohee.cn/p/2016/03/23/085cc78b3513488582204fc279e592b1.png?imageView/2/w/640
     * preview_width : 450
     * preview_height : 338
     */

    private List<PhotosBean> photos;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getBody() {
        return body;
    }

    public void setBody(String body) {
        this.body = body;
    }

    public String getCreated_at() {
        return created_at;
    }

    public void setCreated_at(String created_at) {
        this.created_at = created_at;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public boolean isHas_suggestion() {
        return has_suggestion;
    }

    public void setHas_suggestion(boolean has_suggestion) {
        this.has_suggestion = has_suggestion;
    }

    public boolean isPrivateX() {
        return privateX;
    }

    public void setPrivateX(boolean privateX) {
        this.privateX = privateX;
    }

    public boolean isOwn() {
        return own;
    }

    public void setOwn(boolean own) {
        this.own = own;
    }

    public boolean isFavorite() {
        return favorite;
    }

    public void setFavorite(boolean favorite) {
        this.favorite = favorite;
    }

    public Object getFeedback() {
        return feedback;
    }

    public void setFeedback(Object feedback) {
        this.feedback = feedback;
    }

    public int getEnvious_count() {
        return envious_count;
    }

    public void setEnvious_count(int envious_count) {
        this.envious_count = envious_count;
    }

    public int getComment_count() {
        return comment_count;
    }

    public void setComment_count(int comment_count) {
        this.comment_count = comment_count;
    }

    public boolean isReposted() {
        return reposted;
    }

    public void setReposted(boolean reposted) {
        this.reposted = reposted;
    }

    public UserBean getUser() {
        return user;
    }

    public void setUser(UserBean user) {
        this.user = user;
    }

    public boolean isCut() {
        return cut;
    }

    public void setCut(boolean cut) {
        this.cut = cut;
    }

    public List<PhotosBean> getPhotos() {
        return photos;
    }

    public void setPhotos(List<PhotosBean> photos) {
        this.photos = photos;
    }

    public static class UserBean {
        private int id;
        private String nickname;
        private String avatar_url;
        private Object title;
        private Object light;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public String getNickname() {
            return nickname;
        }

        public void setNickname(String nickname) {
            this.nickname = nickname;
        }

        public String getAvatar_url() {
            return avatar_url;
        }

        public void setAvatar_url(String avatar_url) {
            this.avatar_url = avatar_url;
        }

        public Object getTitle() {
            return title;
        }

        public void setTitle(Object title) {
            this.title = title;
        }

        public Object getLight() {
            return light;
        }

        public void setLight(Object light) {
            this.light = light;
        }
    }

    public static class PhotosBean {
        private String small_url;
        private String middle_url;
        private String big_url;
        private int preview_width;
        private int preview_height;

        public String getSmall_url() {
            return small_url;
        }

        public void setSmall_url(String small_url) {
            this.small_url = small_url;
        }

        public String getMiddle_url() {
            return middle_url;
        }

        public void setMiddle_url(String middle_url) {
            this.middle_url = middle_url;
        }

        public String getBig_url() {
            return big_url;
        }

        public void setBig_url(String big_url) {
            this.big_url = big_url;
        }

        public int getPreview_width() {
            return preview_width;
        }

        public void setPreview_width(int preview_width) {
            this.preview_width = preview_width;
        }

        public int getPreview_height() {
            return preview_height;
        }

        public void setPreview_height(int preview_height) {
            this.preview_height = preview_height;
        }
    }
}
